package com.itwxz.system.domain.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.itwxz.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SearchOrderVo implements Serializable {
	@Serial
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	private Long id;

	/**
	 * 机主名称
	 */
	private String name;

	/**
	 * 身份
	 */
	private Integer identity;
	/**
	 * 宿舍栋数
	 */
	private String building;

	/**
	 * 宿舍号
	 */
	private String dormitory;

	/**
	 * 订单状态
	 */
	private Integer status;

	/**
	 * 订单详情
	 */
	private String details;

	/**
	 * 维修人员id
	 */
	private Long staffId;

	private String staffName;

	private String staffPhone;

	private String staffEmail;

	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTime;

	/**
	 * 完成订单时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime completionTime;
}
